Fixed eldoc behavior.
author=?UTF-8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= <fgallina@cuca>
Thu, 17 May 2012 03:03:18 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fabian@anue.biz>
Thu, 17 May 2012 03:03:18 +0000 (00:03 -0300)
commitd5615eb97be26f394eff5ce1987b5d6dc2752c62
tree8fdb6f66e8e007b5c3f885010854228ee0a5b705
parent55bc300ac769639d3d65dfadfebe6a97c2a86386
Fixed eldoc behavior.

      * python-eldoc-setup-code: The code to get help now uses the
        inspect element. When an object doesn't have documentation and
        if it is callable it returns the signature for it. Also when
        an object does contain documentation it only returns the first
        line.

      * python-eldoc-at-point: has been simplified to just message the
        doc header of objects.

      * python-info-current-defun: was not taking into account the
        current indentation so point was always inside a defun, even
        if the indentation was less or equal than the defun above.
lisp/progmodes/python.el